package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 队伍单位中间对象 def_team_company
 * 
 * @author ruoyi
 * @date 2024-10-17
 */
public class DefTeamCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 队伍ID */
    @Excel(name = "队伍ID")
    private Integer teamId;

    /** 单位ID */
    @Excel(name = "单位ID")
    private Integer companyId;

    public void setTeamId(Integer teamId) 
    {
        this.teamId = teamId;
    }

    public Integer getTeamId() 
    {
        return teamId;
    }
    public void setCompanyId(Integer companyId) 
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId() 
    {
        return companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("companyId", getCompanyId())
            .toString();
    }
}
